package homework.extendwork2.coding;

public class Pedicab extends  Car {

    public Pedicab(String strBrand,String strColor){

        super( strBrand,strColor);
       this.setIntWheel(34);
    }
    public Pedicab(){
        this.setIntWheel(333333);
    }
    @Override
    public void show() {
        System.out.printf("三轮车是一款有%d个轮子的非机动车",this.getIntWheel());
    }
}
